package com.aaa.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private Integer id;
    private String ordernum;
    private String name;
    private String phone;
    private String startdate;
    private String enddate;
    private Integer rtid;
    private String money;
    private String state;

    public Order(String ordernum, String name, String phone, String startdate, String enddate,Integer rtid, String money, String state) {
        this.ordernum = ordernum;
        this.name = name;
        this.phone = phone;
        this.startdate = startdate;
        this.enddate = enddate;
        this.rtid = rtid;
        this.money = money;
        this.state = state;
    }
}
